package com.bishe.demo.modules.ticket.service;

import com.bishe.demo.modules.common.entity.City;

import java.util.List;

/**
 * @Description TrainCityService
 * @Author YHQ
 * @Date 2021/4/1 9:37
 */
public interface TrainCityService {
    //通过id等于外键查城市
    List<City> getCitiesByFkCityId(Integer fkCityId);
    //通过pid查省份
    List<City> province(Integer pid);
    //通过pid查对应省会城市
    List<City> citiesByPid(Integer pid);
}
